<template>
    <div>
      <div class="main-tab">
        <x-header id="header" slot="header" :left-options="{showBack: false}" >
          <x-icon type="ios-arrow-back" slot="left" style="fill:#fff;" @click="back"></x-icon>
          <span slot="default" class="header-tit">文章消息</span>
        </x-header>
        <div class="main">
          <group>
            <cell-box class="msg">
              <div class="reply">
                <img src="../../../static/img/my-off.png" class="round">
                <div class="reply-left">
                  <span class="name">王小二 <span class="review">回复了你的评论</span></span>
                  <span class="ago">15个小时前</span>
                </div>
                <div class="reply-right">
                  <img src="../../../static/icon/smoke.jpg" class="goods">
                </div>
              </div>
              <div class="comment">
                <div class="comment-top"><span>这个烟真的挺好抽的，我也尝试过。</span></div>
                <div class="comment-bottom"><span>我的评论：&nbsp;对的,虽然不是很大众</span></div>
              </div>
            </cell-box>
          </group>
        </div>
        <div class="more">没有更多了哦～</div>
      </div>
    </div>
</template>

<script>
  import { cookie } from 'vux'
  export default {
        name: "article_message",
      data(){
        return{
          cid:65,
          articleType:1,
        }
      },
      methods:{
        back(){
          this.$router.go(-1)
        },
        }
    }
</script>

<style scoped>
  .header-tit{
    margin-top: 0.2rem;
  }
  #header{
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
  }
  .main{
    padding-top:28px;
    width: 100%;
  }
  .msg{
    display: flex;
    flex-direction: column;
  }
  .reply{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .reply img{
    width: 3.57rem;
    height: 3.57rem;
  }
  .round{
    background: #FFFFFF;
    border: 1px solid #F4F4F4;
    border-radius:50%; overflow:hidden;
  }
  .reply-left{
    display: flex;
    flex-direction: column;
  }
  .name{
    margin-left: 1.07rem;
    font-size: 17px;
    color: #030303;
    letter-spacing: -0.41px;
    text-align: center;
  }
  .review{
    margin-left: 1.07rem;
    font-size: 14px;
    color: #9B9B9B;
    letter-spacing: -0.34px;
    text-align: center;
  }
  .ago{
    margin-left: 1.07rem;
    margin-top: 0.36rem;
    font-size: 12px;
    color: #9B9B9B;
    letter-spacing: -0.29px;
  }
  .goods{
    margin-left: 4.5rem;
  }
  .comment{
    display: flex;
    flex-direction: column;
    width: 15.36rem;
    background: #F4F4F4;
    border-radius: 2px;
  }
  .comment-top{
    margin-left: 0.72rem;
    margin-top: 0.72rem;
    font-size: 14px;
    color: #4A4A4A;
    letter-spacing: -0.34px;
    text-align: justify;
    border-bottom: #EDEDED solid 1.5px;
    padding-bottom: 0.72rem;
    padding-right:0.72rem ;
  }
  .comment-bottom{
    font-size: 12px;
    color: #9B9B9B;
    letter-spacing: -0.29px;
    text-align: justify;
    margin-left: 0.72rem;
    margin-top: 0.72rem;
    padding-bottom: 0.72rem;
    padding-right:0.72rem ;
  }
  .more{
    position: absolute;
    left: 50%;
    margin-left: -3.43rem;
    margin-top: 1.07rem;
    font-size: 14px;
    color: #9B9B9B;
    letter-spacing: -0.34px;
    text-align: justify;
  }
</style>
